// pages/shop/shop.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    goods: [
      {
        id:"fa4fe131f6",
        image:"http://bmob-cdn-15327.b0.upaiyun.com/2018/03/13/df398148409314ee800f97755c662978.jpg",
        price:6999,
        title:"iphone X"
      },
      {
        id: "7aeed79a1a",
        image: "http://bmob-cdn-15327.b0.upaiyun.com/2018/03/19/708909ff405c86738093d1d335074afc.jpg",
        price: 499.6,
        title: "男装 舒适外套 404354 优衣库UNIQLO"
      },
      {
        id: "bc5b88ca3e",
        image: "http://bmob-cdn-15327.b0.upaiyun.com/2018/03/13/c72ce66a4085e9e2804fdc48ea112f1f.jpg",
        price: 12999,
        title: "MacBook Pro"
      }
    ], //页面数据
    pagination: 0, //页码
    pageSize: 8, //每页数据
    nodata: false, //无数据
    searchVal: ""
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  BuyNow: function() {
    wx.navigateTo({
      url: './../details/details'
    });
  }
  
})